<div class="grid_4">
    <div class="bg-h2">
        <h2 class="cufon">Bài viết gần đây</h2>
    </div>
    <div class="pad-top">
        <?php
        if (sizeof($arrArticles['data']) > 0)
        {
            foreach ($arrArticles['data'] as $blog)
            {
        ?>
                <div class="wrapper wrapper-list">
                    <img src="<?php echo $blog['thumb']; ?>" alt="<?php echo $blog['title']; ?>" class="img-indent" width="100">
                    <div class="list-title">
                        <a href="<?php echo base_url().'blog/bai-viet/'.$blog['slug'].'/'.$blog['id'].'.html'; ?>" title="<?php echo $blog['title']; ?>" class="link1"><?php echo $blog['title']; ?></a>
                    </div>
                    <div class="text4 list-time">
                        <?php echo strftime('%b %d, %Y', $blog['created_on']); ?> | <span><?php echo $blog['num_comments']; ?> bình luận</span>
                    </div>
                    <div class="list-intro"><?php echo $blog['intro']; ?></div>
                </div>
                <div class="border border-pad1"></div>
        <?php
            }
            
        }
        ?>
        <div class="wrapper">
            <a class="link2 fright" href="<?php echo base_url(); ?>blog/archives.html">xem tất cả</a>
        </div>
    </div>
</div>
<div class="grid_8">
    <div class="bg-h2">
        <h2 class="cufon">Video nổi bật</h2>
    </div>
    <div class="wrapper">
        <?php
        if (sizeof($arrVideos['data']) > 0)
        {
            foreach ($arrVideos['data'] as $blog)
            {
        ?>
        <div class="grid_4 alpha  pad-top">
            <div class="pad-left">
                <div class="page2-img2">
                    <div class="padding">
                        <a href="<?php echo base_url().'blog/bai-viet-video/'.$blog['slug'].'/'.$blog['id'].'.html'; ?>" title="<?php echo $blog['title']; ?>" class="link4"><?php echo $blog['title']; ?></a>
                    </div>
                </div>
                <?php echo $blog['intro']; ?>
            </div>    
        </div>
        <?php
            }
            
        }
        ?>
    </div>
</div>